<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>{{ $article->title }} -蚂蚁馆嘉装</title>
    <meta name="keywords" content="{{ $article->title }}"/>
    <meta name="description" content="{{ $article->guide }}"/>

    <link href="{{ asset('baike/css/common.css') }}" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="{{ asset('baike/js/jquery-1.8.3.js') }}"></script>
    <script type="text/javascript" src="{{ asset('baike/js/common.js') }}"></script>
    <style type="text/css">
        .cyhxy {
            color: #9F9F9F
        }

        .cyhxy input {
            vertical-align: middle
        }

        .cyhxy a:link, .cyhxy a:active, .cyhxy a:visited {
            color: #70B3FF
        }
    </style>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?eb959a0f08e8a123dcbd729738b9ed8e";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

</head>

<body>
<div class="header">
    <div class="head">
        <span class="floatleft">您好，欢迎光临蚂蚁馆嘉装网！</span>
        <span class="floatright"><a href="http://www.mayiguan.com">蚂蚁馆嘉装首页</a>
    </div>
</div>


<!--liu_top start-->
<div class="top">
    <span class="floatleft">
        <a href="{{ url('/') }}">
            <img src="{{ asset('baike/images/mylogo.png') }}" width="369" height="153">
        </a>
    </span>
    <span class="floatright">
        <div width="400" height="153" style=" float: left;position: relative; left:100px">
           <div style="float: left; position: relative; top:35px; width:50px;"><img
                       src="{{ asset('baike/images/jiangb.jpg') }}" width="50" height="59"></div>
           <div style="float: left; width:350px; color: #000; position: relative; top:40px;"><span
                       style="font-size: 20px; font-weight: bold; padding-left: 20px;">好口碑省钱装修网</span><p
                       style="padding-left:10px; padding-top: 5px; font-weight: bold; font-size: 18px;  color: #666;">中国互联网装修省钱网</p></div>
        </div>
    </span>
</div>
<!--liu_top end-->


<!--liu_banner start-->
<div class="banner">
    <div class="ban">
        <ul>
            <li class=""><a href="{{ url('baike/index') }}">首 页</a></li>
            @foreach($category as $item)
                <li class="{{ $article->category->code == $item->code ? 'li1' : '' }}"><a
                            href="{{ url('baike', $item->code) }}">{{ $item->name }}</a></li>
            @endforeach
        </ul>
    </div>
</div>
<!--liu_banner end-->

<div class="nindexm">
    <div class="nmleft">
        <h3>您的位置：<a href="{{ url('baike/index') }}">首页</a> > <a
                    href="{{ url('baike', $article->category->code) }}">{{ $article->category->name }}</a>
            > {{ $article->title }}</h3>
        <div class="nmcon">
            <h1>{{ $article->title }}</h1>
            <div class="fbsj">发表时间：{{ $article->created_at }}</div>
            <div class="daodu">
                <span>【导读】：</span>{{ $article->guide }}</div>
            <div class="content">
                <img src="{{ $article->media->path }}" style="width: 100%;" alt=""/>
                {!! $article->content->content !!}
            </div>
            <div class="sxp">
                @if($prev)
                    <div class="floatleft" style="width: 375px; overflow: hidden;text-overflow:ellipsis;
white-space: nowrap;">
                        <a href="{{ url('baike', $prev->id) }}">上一篇：{{ $prev->title }}</a>
                    </div>
                @endif
                @if($next)
                    <span class="floatright"
                          style="width: 375px; display: block; height: 30px; line-height: 30px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;">
                        <a href="{{ url('baike', $next->id) }}">下一篇：{{ $next->title }}</a>
                    </span>
                @endif
            </div>
            <div class="xgwz">
                <h4>
                    <span class="floatleft">最新文章</span>
                    <span class="floatright"></span>
                </h4>
                <div class="xgwzcon">
                    <ul>
                        @foreach($news as $item)
                            <li>· <a href="{{ url('baike', $item->id) }}">{{ $item->title }}</a></li>
                        @endforeach
                    </ul>
                </div>
            </div>
            <div class="xgwz marginleft20">
                <h4>
                    <span class="floatleft">相关文章</span>
                    <span class="floatright"></span>
                </h4>
                <div class="xgwzcon">
                    <ul>
                        @foreach($relevant as $item)
                            <li>· <a href="{{ url('baike', $item->id) }}">{{ $item->title }}</a></li>
                        @endforeach
                    </ul>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="indexmright nmright">
        <div class="mfznbj">
            <a href="javascript:;"><img src="{{ asset('baike/images/zxbj.jpg') }}" width="267" height="116"></a>
        </div>

        <script type="text/javascript">
            $(function () {
                freeRelease($(".ljhdmffa"));
            });
        </script>
        <div class="alfx dzh" style="height: auto">
            <h3><span class="floatleft">推荐文章</span><span class="floatright"></span></h3>
            <div class="alfxcon" style="height: auto">
                <dl>
                    <dt>
                        <a href="{{ url('baike', $recommend->first()->id) }}">{{ $recommend->first()->title }}</a>
                    </dt>
                    <dd>
                        <a href="{{ url('baike', $recommend->first()->id) }}"
                           class="redlink"> {{ $recommend->first()->guide }}</a>
                    </dd>

                </dl>
                <ul>
                    @foreach($recommend as $item)
                        <li>· <a href="{{ url('baike', $item->id) }}">{{ $item->title }}</a></li>
                    @endforeach
                </ul>
            </div>

        </div>

        <div class="alfx dzh">
            <h3><span class="floatleft">案例分析</span><span class="floatright"></span></h3>
            <div class="alfxcon" style="height: auto">
                <dl>
                    <dt>
                        <a href="{{ url('baike', $recommend->first()->id) }}">{{ $recommend->first()->title }}</a>
                    </dt>
                    <dd>
                        <a href="{{ url('baike', $recommend->first()->id) }}"
                           class="redlink"> {{ $recommend->first()->guide }}</a>
                    </dd>

                </dl>
                <ul>
                    @foreach($recommend->take(2) as $item)
                        <li>· <a href="{{ url('baike', $item->id) }}">{{ $item->title }}</a></li>
                    @endforeach
                </ul>
            </div>

        </div>

        <div class="alfx dzh">
            <h3><span class="floatleft">装修公司</span><span class="floatright"></span></h3>
            <div class="alfxcon" style="height: auto">
                <ul>
                    @foreach($archive as $item)
                        <li>· <a href="{{ generate_top_url('/company', $item->region->initials, $item->id) }}">{{ $item->name }}</a></li>
                    @endforeach
                </ul>
            </div>

        </div>
    </div>
</div>


<script language="javascript" src="{{ asset('baike/js/jquery.cookie.js') }}"></script>


<div id="page_bottom2_wrapper">


    <div id="page_bottom2">
        <img src="{{ asset('baike/images/page_bottom2_bg.png') }}" width="1100" height="155" usemap="#Map" border="0"/>
        <map name="Map" id="Map">
            <area shape="rect" coords="752,45,923,87" href="{{ url('/') }}"/>
        </map>


    </div>
</div>

<!--底部 开始-->


<div class="copyright">
    <div class="footer_links_w"><a href="#"></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">用户协议</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
                href="#">联系我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">免责声明</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">装修公司合作</a>&nbsp;&nbsp;|&nbsp;&nbsp;服务热线：400-8018-189
    </div>
    <div>Copyright© 2016-2018 蚂蚁馆嘉装 mayiguan.com | 苏ICP备17055766号</div>

</div>
</div>


<!--底部 结束-->


</body>
</html>